import fetch from 'common/src/utils/fetch';
export function getList(data) {
    return fetch({
        url: '/api/designservice/docCaseSummary/queryByPage',
        method: 'post',
        headers: { 'Content-Type': 'application/json' },
        data
    });
}

export function exportData(data) {
    return fetch({
        url: '/api/designservice/docCaseSummary/exportList',
        method: 'post',
        headers: { 'Content-Type': 'application/json' },
        data
    });
}

export function getReportStatus(key) {
    return fetch({
        url: `/api/designservice/resultPublish/result/${key}`,
        method: 'get',
        showMask: false
    })
  }